package com.hotel.mapper.auto;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hotel.model.auto.User;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2023-03-16
 */
public interface UserMapper extends BaseMapper<User> {

    /*普通用户登录*/
    User login(String username,String password);

    /*查询管理员*/
    int selectAdmin(String username);
}
